<template>
  <div class="outer">
    <Tab title="美食">
  <template #content="{ msg }">
    <ol>
      <li 
      v-for="item in msg"
      :key="item">{{item}}</li>
    </ol>
  </template>
    </Tab>
    <Tab title="美食">
       <template #content="{ msg }">
        <ul>
          <li v-for="item in msg" :key="item">{{ item }}</li>
        </ul>
      </template>
    </Tab>
      <Tab title="美食">
      <template #content="{ msg }">
        <h3 v-for="item in msg" :key="item">{{ item }}</h3>
      </template>
    </Tab>
  </div>
</template>

<script>
import Tab from "./components/tab";
export default {
  name : "App",
  components : {
    Tab,
  },
  data() {
    return {}
  }
}
</script>

<style>
.outer {
  width: 800px;
  display: flex;
  justify-content: space-between;
}
</style>